package com.ccp.dev.im.dao;

import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.core.basic.web.query.QueryFilter;
import com.ccp.dev.im.model.ImRoomMsgStatus;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * im_room_msg_status 信息数据库操作类
 */
@Mapper
public interface ImRoomMsgStatusDao extends IBaseMapper<ImRoomMsgStatus,String> {

    List<ImRoomMsgStatus> queryAll(QueryFilter queryFilter);

    /**
     * 根据用户id以及群组id删除数据
     * @param map map
     */
    void delByRoomIdAndUserId (Map map);
    /**
     * 根据用户id以及群组id查询数据
     * @param map map
     */
    ImRoomMsgStatus getByRoomIdAndUserId (Map map);
}
